<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Index</title>
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="lib/font-awesome-4.7.0/css/font-awesome.min.css">
</head>
<body class="app sidebar-mini">

<!--导航栏-->
<header class="app-header">
    <a class="app-header__logo" href="">永和大王</a>
    <!--侧边栏切换按钮-->
    <a class="app-sidebar__toggle" href="#" data-toggle="sidebar" aria-label="Hide Sidebar"></a>
    <!--导航栏右菜单-->
    <ul class="app-nav">
        <li class="app-search">
            <input class="app-search__input" type="search" placeholder="Search">
            <button class="app-search__button"><i class="fa fa-search"></i></button>
        </li>
        <!--通知菜单-->
        <li class="dropdown">
            <a class="app-nav__item" href="#" data-toggle="dropdown"><i class="fa fa-bell-o fa-lg"></i></a>
        </li>
        <!--用户菜单-->
        <li class="dropdown">
            <a class="app-nav__item" href="#" data-toggle="dropdown"><i class="fa fa-user fa-lg"></i></a>
            <ul class="dropdown-menu settings-menu dropdown-menu-right">
                <li><a class="dropdown-item" target="app-iframe" href="profile.html"><i class="fa fa-user"></i> 个人资料</a></li>
                <li><a class="dropdown-item" target="app-iframe" href="password.html"><i class="fa fa-lock"></i> 修改密码</a></li>
                <li><a class="dropdown-item" href="login.html"><i class="fa fa-sign-out"></i> 退出登录</a></li>
            </ul>
        </li>
    </ul>
</header>

<!--侧边栏菜单-->
<div class="app-sidebar__overlay" data-toggle="sidebar"></div>
<aside class="app-sidebar">
    <div class="app-sidebar__user">
        <img class="app-sidebar__user-avatar" src="images/avatar.jpg" alt="">
        <div>
            <p class="app-sidebar__user-name">root</p>
            <p class="app-sidebar__user-designation">欢迎您!</p>
        </div>
    </div>
    <ul class="app-menu">
        <li>
            <a class="app-menu__item" target="app-iframe" href="welcome.html">
                <i class="app-menu__icon fa fa-dashboard"></i>
                <span class="app-menu__label">首页</span>
            </a>
        </li>
        <li>
            <a class="app-menu__item" target="app-iframe" href="/door/list">
                <i class="app-menu__icon fa fa-circle-o"></i>
                <span class="app-menu__label">门店管理</span>
            </a>
        </li>
        <li>
            <a class="app-menu__item" target="app-iframe" href="order_list.html">
                <i class="app-menu__icon fa fa-circle-o"></i>
                <span class="app-menu__label">订单管理</span>
            </a>
        </li>
        <li>
            <a class="app-menu__item" target="app-iframe" href="dishesCat_list.html">
                <i class="app-menu__icon fa fa-circle-o"></i>
                <span class="app-menu__label">菜品分类</span>
            </a>
        </li>
        <li>
            <a class="app-menu__item" target="app-iframe" href="dishes_list.html">
                <i class="app-menu__icon fa fa-circle-o"></i>
                <span class="app-menu__label">菜品管理</span>
            </a>
        </li>
    </ul>
</aside>

<!--主要内容-->
<main class="app-content">
    <iframe class="app-iframe" name="app-iframe" src="welcome"></iframe>
</main>

<!-- Essential javascripts for application to work-->
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
<!-- Page specific javascripts-->
<script src="lib/layer/layer.js"></script>

</body>
</html>